<html data-dpr="1" style="font-size: 37.5px;">
 <head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1" />
  <meta id="i18n_pagename" content="addpage-common">
  <title>{:C('sitename')}</title>
  <link href="/ascss/1.css" rel="stylesheet" />
  <link href="/ascss/mui/css/mui.min.css" rel="stylesheet" />
  <link href="/ascss/ek.css" rel="stylesheet" />
  <style type="text/css" title="fading circle style">
  	.circle-color-17 > div::before { background-color: #ccc; }
  	.Cash_num[data-v-23a3b700]{background:none;box-shadow: none;border-radius: 3px;padding:0;padding-top:.2rem}
  	.form-control-type_choose{background-color: #31395e;margin-bottom: 0;padding:9px 12px;border-radius: 3px;}
  	.Cash_num_money input[data-v-23a3b700]{width: calc(100% - 85px);background: #31395e;height: auto;padding: 8px 10px;font-size: 14px;}
  	.Cash_num_money[data-v-23a3b700] {border-color:#555}
  	.form-group{background-color: #32395d;border-bottom: .013333rem solid #161936;}
  	</style>
   <script>
    (function (win, lib) {
      var doc = win.document
      var docEl = doc.documentElement
      var metaEl = doc.querySelector('meta[name="viewport"]')
      var flexibleEl = doc.querySelector('meta[name="flexible"]')
      var dpr = 0
      var scale = 0
      var tid
      var flexible = lib.flexible || (lib.flexible = {})
 
      if (metaEl) {
        console.warn('将根据已有的meta标签来设置缩放比例')
        var match = metaEl.getAttribute('content').match(/initial\-scale=([\d\.]+)/)
        if (match) {
          scale = parseFloat(match[1])
          dpr = parseInt(1 / scale)
        }
      } else if (flexibleEl) {
        var content = flexibleEl.getAttribute('content')
        if (content) {
          var initialDpr = content.match(/initial\-dpr=([\d\.]+)/)
          var maximumDpr = content.match(/maximum\-dpr=([\d\.]+)/)
          if (initialDpr) {
            dpr = parseFloat(initialDpr[1])
            scale = parseFloat((1 / dpr).toFixed(2))
          }
          if (maximumDpr) {
            dpr = parseFloat(maximumDpr[1])
            scale = parseFloat((1 / dpr).toFixed(2))
          }
        }
      }
 
      if (!dpr && !scale) {
        var isAndroid = win.navigator.appVersion.match(/android/gi)
        var isIPhone = win.navigator.appVersion.match(/iphone/gi)
        var devicePixelRatio = win.devicePixelRatio
//          if (isIPhone) {
//            // iOS下，对于2和3的屏，用2倍的方案，其余的用1倍方案
//            if (devicePixelRatio >= 3 && (!dpr || dpr >= 3)) {
//              dpr = 3;
//            } else if (devicePixelRatio >= 2 && (!dpr || dpr >= 2)){
//              dpr = 2;
//            } else {
//              dpr = 1;
//            }
//          } else {
//            // 其他设备下，仍旧使用1倍的方案
//            dpr = 1;
//          }
        dpr = 1
        scale = 1 / dpr
      }
 
      docEl.setAttribute('data-dpr', dpr)
      if (!metaEl) {
        metaEl = doc.createElement('meta')
        metaEl.setAttribute('name', 'viewport')
        metaEl.setAttribute('content', 'initial-scale=' + scale + ', maximum-scale=' + scale + ', minimum-scale=' + scale + ', user-scalable=no')
        if (docEl.firstElementChild) {
          docEl.firstElementChild.appendChild(metaEl)
        } else {
          var wrap = doc.createElement('div')
          wrap.appendChild(metaEl)
          doc.write(wrap.innerHTML)
        }
      }
 
      function refreshRem () {
        var width = docEl.getBoundingClientRect().width
        if (width / dpr > 540) {
          width = 540 * dpr
        }
        var rem = width / 10
        docEl.style.fontSize = rem + 'px'
        flexible.rem = win.rem = rem
      }
 
      win.addEventListener('resize', function () {
        clearTimeout(tid)
        tid = setTimeout(refreshRem, 300)
      }, false)
      win.addEventListener('pageshow', function (e) {
        if (e.persisted) {
          clearTimeout(tid)
          tid = setTimeout(refreshRem, 300)
        }
      }, false)
 
      if (doc.readyState === 'complete') {
//          doc.body.style.fontSize = 12 * dpr + 'px';
        doc.body.style.fontSize = 16 + 'px'
      } else {
        doc.addEventListener('DOMContentLoaded', function (e) {
//            doc.body.style.fontSize = 12 * dpr + 'px';
          doc.body.style.fontSize = 16 + 'px'
        }, false)
      }
 
      refreshRem()
 
      flexible.dpr = win.dpr = dpr
      flexible.refreshRem = refreshRem
      flexible.rem2px = function (d) {
        var val = parseFloat(d) * this.rem
        if (typeof d === 'string' && d.match(/rem$/)) {
          val += 'px'
        }
        return val
      }
      flexible.px2rem = function (d) {
        var val = parseFloat(d) / this.rem
        if (typeof d === 'string' && d.match(/px$/)) {
          val += 'rem'
        }
        return val
      }
 
    })(window, window['lib'] || (window['lib'] = {}))
  </script>
  <!-- 环境判断:测试、正式 -->
  <script>
    var host = window.location.host
    ;(function isFormalEnv(host){
      if(host.indexOf('kw13.cn') !== -1){
        window.isFormalEnv = true
        window.isTestEnv = false
      } else if(host.indexOf('kwmzy.com') !== -1) {
        window.isTestEnv = true
        window.isFormalEnv = false
      }
    })(host)
  </script>
  <!-- 腾讯移动统计配置 -->
  <script>
    var mtah5 = {}
    if(window.isFormalEnv){
      mtah5.sid = 500411881
      mtah5.cid = 500432840
    } else { // 本地、测试环境使用
      mtah5.sid = 500412096
      mtah5.cid = 500426037
    }
    var _mtac = {"performanceMonitor":1,"senseQuery":1};
    (function() {
      var mta = document.createElement("script");
      mta.setAttribute("name", "MTAH5");
      mta.setAttribute("sid", mtah5.sid);
      mta.setAttribute("cid", mtah5.cid);
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(mta, s);
    })();
  </script>
  <script>
    window.origin = window.location.origin
  </script>
 </head>
 <body style="font-size: 12px;">
	<header class="mui-bar mui-bar-nav top-status"><a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" style="color: #fff;" onclick="javascript :history.back(-1);"></a> <div class="flex-start headerContent"><img src="/images/static/menu.png" height="16"><div class="logoText" data-language="hbcr-hbcr">货币存入</div></div></header>
  <div id="app">
   <div data-v-23a3b700="" class="mui-content">
   <form class="m-t form-horizontal " role="form" method="post" action="{:U('Home/Fen/add')}" id="LoginForm" style="padding: 10px 20px;">
    <!--div data-v-23a3b700="" class="header">
     <div class="left_btn" onclick="location.href='/Home/Run/index'">
      <img style="margin-top:13px;"src="/asimages/fanhui.png" alt="" class="return" />
     </div> 
     <div class="Maintitle">
      <h3>充值</h3>
     </div> 
     <div class="right_btn">
      <a data-v-23a3b700="" onclick="location.href='/Home/User/fenadd'" class=""><h3 data-v-23a3b700="">充值记录</h3></a>
     </div>
    </div--> 
    
    <div class="rtitle">
    	<img src="/ascss/img/bit.png" alt="" id="rimg" height="30">
    	<span id="rtitle" style="margin-top: 6px;" data-language="hbcr-crlx">存入类型</span>
    </div>
    
	<div data-v-23a3b700="" class="Cash_num">
        <div class="col-sm-6" style="width:100%;display: inline-block;">
		    <select name="type" class="form-control-type_choose">
				<option value="1" data-language="hbcr-wxewm">微信二维码存入</option>
				<option value="2" data-language="hbcr-zfbewm">支付宝二维码存入</option>
				<if condition="C('agent_pay') eq 0">
				<option value="3" data-language="hbcr-yhkcr">币种存入</option>
				</if>
			</select>
		</div>
    </div> 
    <div data-v-23a3b700="" class="Cash_num">
     <!--h3 data-v-23a3b700="">充值金额</h3--> 
     <div data-v-23a3b700="" class="Cash_num_money">
      <!--span data-v-23a3b700="">￥</span--> 
      <div class="item-title" data-language="hbcr-crsm">货币数量:</div>
      <input data-v-23a3b700="" class="i18n-input" type="text" id="money" name="money" onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}" onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'0')}else{this.value=this.value.replace(/\D/g,'')}" selectname="hbcr-qsrcrje" selectattr="placeholder" placeholder="请输入存入货币数量" />
     </div> 
     <!--h4 data-v-23a3b700="" data-language="hbcr-crsm">存入说明</h4--> 
     <div data-v-23a3b700="" class="Cash_num_password" style="display:none">
      <span data-v-23a3b700="" id="mo100" class="col-xs-3">100元</span> 
      <span data-v-23a3b700="" id="mo300" class="col-xs-3">300元</span> 
      <span data-v-23a3b700="" id="mo500" class="col-xs-3">500元</span> 
      <span data-v-23a3b700="" id="mo1000" class="col-xs-3">1000元</span> 
      <span data-v-23a3b700="" id="mo3000" class="col-xs-3">3000元</span> 
      <span data-v-23a3b700="" id="mo5000" class="col-xs-3">5000元</span> 
      <span data-v-23a3b700="" id="mo10000" class="col-xs-3">10000元</span> 
      <span data-v-23a3b700="" id="mo50000" class="col-xs-3">50000元</span>
     </div>
    </div> 
	<!--二维码支付-->
	<div style="text-align: center;"data-v-23a3b700="" class="Cash_num">
	<div  class="wximg" style="text-align: center;display: block;"><img style="width: 180px;height: 180px;"src="<if condition="$pay[wx_paycode] neq ''">__ROOT__/Uploads/{$pay.wx_paycode}<else/>__PUBLIC__/Admin/img/no_img.jpg</if>"></div>
	<div class="zfbimg" style="text-align: center;display: none;"><img style="width: 180px;height: 180px;"src="<if condition="$pay[zfb_paycode] neq ''">__ROOT__/Uploads/{$pay.zfb_paycode}<else/>__PUBLIC__/Admin/img/no_img.jpg</if>"></div>
	<!--font color="#f9593a" style="font-size: 12px;"><b>长按或截图相册后扫描二维码转账,或银行卡转账后，提交充值申请给客服，客服马上会审核充值</b></font-->
    </div> 
 
	<!--二维码支付-->
    <!--银行支付-->
	<if condition="C('agent_pay') eq 0">

	<div class="yhk" style="display: none;">
		<div class="form-group">
			<span data-language="hbcr-yhkxm">币种：</span><font color="red">{:C('bank_name')}</font>
		</div>
		<div class="form-group">
			<span data-language="hbcr-yhkkh">UID：</span><font color="red">{:C('bank_num')}</font>
		</div>
		<div class="form-group">
			<span data-language="hbcr-yhkdz">币种地址：</span><font color="red">{:C('bank_addr')}</font>
		</div>
	</div>

	</if>
	<!--银行支付-->
    <div data-v-23a3b700="" class="c26">
	<input type="hidden" name="id" value="{$userinfo.id}">
	<button data-v-23a3b700="" type="submit" class="btn btn-success block full-width m-b ek-button" data-language="hbcr-tjcz">提交充值</button>
    </div> 
    <!--div data-v-23a3b700="" class="remind">
     <p data-v-23a3b700="">充值请联系在线客服</p>
    </div--> 
   </form>
	<div style="margin:10px 0 ;"> 
		<ul style="" class="rechargeDescptionBox">
			<li><span data-language="hbcr-ywtqzx">1.  有问题请咨询</span>   <a href="/Home/User/kefu" data-language="hbcr-zxkf">在线客服</a></li>
			<li><font color="#f9593a" data-language="hbcr-cahjt">2.长按或截图相册后扫描二维码,转账或银行卡转账后，提交存入申请给客服，客服马上会审核存入.</font></li>
			<li id="deposit_notice" style="display: none;"></li>
		</ul>
	</div>
   </div>
   
   <ul class="nav-bottom-box">
   <li><a href="/Home/Run/index">
     <div class="icon-home nav-bottom-icon"></div>
     <div class="nav-bottom-box-label" data-language="common_dtdt">
      大厅动态
     </div></a></li>
   <li><a href="/Home/User/zs">
     <div class="icon-lottery nav-bottom-icon"></div>
     <div class="nav-bottom-box-label" data-language="common_sczs">
      市场走势
     </div></a></li>
   <!--<li><a href="/home/User/yuebao">-->
   <!--  <div class="icon-news nav-bottom-icon"></div>-->
   <!--  <div class="nav-bottom-box-label" data-language="common_tzlc">-->
   <!--   投资理财-->
   <!--  </div></a></li>-->
   <li class="mui-active"><a href="/home/Fen/addpage">
     <div class="icon-news nav-bottom-icon"></div>
     <div class="nav-bottom-box-label" data-language="hbcr-cz">
      充值
     </div></a></li>
   <li><a href="/Home/User/kefu.html">
     <div class="icon-homeService nav-bottom-icon"></div>
     <div class="nav-bottom-box-label" data-language="common_kf">
      客服
     </div></a></li>
   <li><a href="/Home/User/index">
     <div class="icon-contact nav-bottom-icon"></div>
     <div class="nav-bottom-box-label" data-language="common_wd">
      我的
     </div></a></li>
  </ul>
   
  </div>
<script src="__PUBLIC__/Admin/js/jquery.min.js?v=2.1.4"></script>
<script src="/ascss/js/jquery.i18n.properties.js"></script>
		<script src="/ascss/js/language.js"></script>
		<script src="__PUBLIC__/Admin/js/bootstrap.min.js?v=3.3.6"></script>
		
		<script src="__PUBLIC__/Common/js/ajaxForm.js"></script>
		<script src="__PUBLIC__/layer/layer.js"></script>
		<script type="text/javascript">
			$('.form-control-type_choose').change(function(){
				var index = $(this).val();
				if (index == 1) {
					$('.wximg').show();
					$('.zfbimg').hide();
					$('.yhk').hide();
				} else if(index ==2){
					$('.wximg').hide();
					$('.zfbimg').show();
					$('.yhk').hide();
				} else if(index == 3){
					$('.wximg').hide();
					$('.zfbimg').hide();
					$('.yhk').show();
				}
			})

			$(function(){
				$('#LoginForm').ajaxForm({
					beforeSubmit: checkForm,
					success: complete, 
					dataType: 'json'
				});
				function checkForm(){
					
				}
				function complete(data){
					if(data.status==1){
						$('.btn').attr('disabled','disabled');
						layer.msg(data.info, function(index){
			 				layer.close(index);
							window.location.href=data.url;
						});
					}else{
						layer.msg(data.info);
						$('#password').val('').focus();
						return false;	
					}
				}
			});
		</script>
		<script>
		var mom = document.getElementById("money");
        document.getElementById("mo100").onclick = function() {mom.value = "100";};
		document.getElementById("mo300").onclick = function() {mom.value = "300";};
		document.getElementById("mo500").onclick = function() {mom.value = "500";};
		document.getElementById("mo1000").onclick = function() {mom.value = "1000";};
		document.getElementById("mo3000").onclick = function() {mom.value = "3000";};
		document.getElementById("mo5000").onclick = function() {mom.value = "5000";};
		document.getElementById("mo10000").onclick = function() {mom.value = "10000";};
		document.getElementById("mo50000").onclick = function() {mom.value = "50000";};
</script>
		</script>
		<script src="__PUBLIC__/Home/js/cls.js"></script>
 </body>
</html>